package com.juc.nonBlockingQueue.nonBblockingQueue9;

import java.util.concurrent.ConcurrentLinkedDeque;

public class MyService {

	//ConcurrentLinkedQueue 仅支持对列头进行操作 ConcurrentLinkedDeque 支持对列头列尾双向操作
	
	public ConcurrentLinkedDeque queue = new ConcurrentLinkedDeque();
	
	public MyService() {
		for (int i = 0; i < 10000; i++) {
			queue.add("string" + (i+1));
		}
	}
}
